#pragma once

#include "NateOnCrypt.h"

class CNateOnCryptSEED : public CNateOnCrypt
{
public:
	CNateOnCryptSEED(void);
	~CNateOnCryptSEED(void);

private:
	void seed_hex_encoding(unsigned char *dest, const unsigned char *src, int len);
	void seed_hex_decoding(unsigned char *dest, const unsigned char *src, int len);

public:

	int m_nEncryptLength;
	virtual	void	Reset();

	virtual	CStringA	Encrypt(CStringA strText, CStringA strKeyValue);
	virtual	CStringA	Decrypt(CStringA strText, CStringA strKeyValue);
	CStringA m_strEncKey;
	CStringA m_strDecKey;
};
